package cn.ffcs.uec.outStaff.action;


import java.io.IOException;
import java.text.ParseException;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Components;

import cn.ffcs.raptornuke.plugin.common.zk.ctrl.BasePortletComposer;
import cn.ffcs.raptornuke.portal.kernel.xml.DocumentException;
import cn.ffcs.raptornuke.portal.theme.ThemeDisplay;
import cn.ffcs.uec.outStaff.component.bean.UecOutStaffInfomationListboxBean;
import cn.ffcs.uom.common.util.IPortletInfoProvider;
import cn.ffcs.uom.common.util.UomZkUtil;

@Controller
@Scope("prototype")
public class UecOutStaffInfomationListMainComposer extends BasePortletComposer implements
		IPortletInfoProvider {
	
	private static final long serialVersionUID = -139335897781983790L;
	
	private UecOutStaffInfomationListboxBean bean = new UecOutStaffInfomationListboxBean();
	
	@Override
	public String getPortletId() {
		return super.getPortletId();
	}

	@Override
	public ThemeDisplay getThemeDisplay() {
		return super.getThemeDisplay();
	}

	@Override
	public void doAfterCompose(Component comp) throws Exception {
		super.doAfterCompose(comp);
		UomZkUtil.autoFitHeight(comp);
		Components.wireVariables(comp, bean);
	}
	/**
	 * 初始化窗口
	 * @throws ParseException 
	 * @throws com.itextpdf.text.DocumentException 
	 * @throws IOException 
	 * @throws DocumentException 
	 */
	public void onCreate$uecOutStaffInfomationListMainWin() {
			
	}
	
}
